/*
 * @Descripttion: 
 * @version: 
 * @Author: wjh
 * @Date: 2021-12-22 11:44:57
 * @LastEditors: wjh
 * @LastEditTime: 2022-02-23 15:09:23
 */
import request from '@/axios'


const obj = {}


obj.post = (url, data) => request({
  method: 'post',
  url,
  data
})
obj.get = (url, params) => request({
  method: 'get',
  url,
  params
})
obj.put = (url, data) => request({
  method: 'put',
  url,
  data
})
obj.delete = (url, data) => request({
  method: 'delete',
  url,
  data
})

export default obj
